<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">

<title>抑郁症在线检测平台-首页</title>

<!-- Stylesheets -->
<link href="/css/style.css" rel="stylesheet">
<link href="/css/responsive.css" rel="stylesheet">
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">

</head>

<!-- page wrapper -->
<body class="main_page">


    <!-- .preloader -->
    <div class="preloader"></div>
    <!-- /.preloader -->
    <div th:insert="~{common:: header}"></div>



    <!-- main-slider -->
    <section class="main-slider">
        <div class="main-slider-carousel owl-carousel owl-theme">
            <div class="slide"   th:style="'background-image:url('+${article.imgUrl}+')'" style="width: 1903px; height: 620px;background-size: 100% 100%;" th:each="article:${articles}">
                <div class="container clearfix">
                    <div class="content-box">
                        <span th:text="${article.articleName}"></span>
                        <div class="text" th:text="${article.getZhaiYao()}"></div>
                        <div class="btn-box"><a th:href="'/article/detail/' + ${article.id}" class="theme-btn-two">查看详情</a></div>
                    </div>
                </div>
            </div>


        </div>
    </section>
    <!-- main-slider end -->


    <!-- about-section -->
    <section class="about-section">
        <div class="container">
            <div class="row">
                <div class="col-lg-6 col-md-12 col-sm-12 content-column">
                    <div class="content-box">
                        <div class="sec-title">
                            <div class="title">关于网站</div>
                            <h1>抑郁症在线平台</h1>
                        </div>
                        <div class="bold-text">这是一个公益性的抑郁症在线测试平台，本网站主要是传授预防、保健、治疗等健康知识以及为用户提供一些检测试题，从而提高抑郁症患者对疾病治疗的重视程度，防治抑郁症给患者的生活、工作造成更多的影响，也为了切实保障用户的隐私以及减轻患者的心理压力。</div>
                        <div class="text">
                            <p>作为国内互联网健康产业的新秀，抑郁症在线平台将一直秉承“让我们充满活力，快乐起来！”的使命，坚持不懈地为中国网民提供更多更完善的健康资讯及服务。</p>
                        </div>
                        <div class="btn-box"><a href="/category/page" class="theme-btn">自我检测</a></div>
                    </div>
                </div>
                <div class="col-lg-6 col-md-12 col-sm-12 video-column">
                    <div class="video-content">
                        <div class="video-icon wow zoomIn" data-wow-delay="1000ms" data-wow-duration="1500ms">
                            <a th:href="${video.url}" class="overlay-link lightbox-image" data-caption=""><i class="flaticon-play-button"></i></a>
                        </div>
                        <div class="image-box clearfix">
                            <figure class="image-1"><img style=" width: 450px; height: 556px;" src="/images/resource/about-1.jpg" alt=""></figure>
                            <figure class="image-2"><img src="/images/resource/about-2.jpg" alt=""></figure>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- about-section end -->



    <!-- work-section -->
    <section class="work-section centred">
        <div class="container">
            <div class="sec-title">
                <div class="title">工作流程</div>
                <h1>我们的工作流程是怎么样的?</h1>
                <p>首先你可以在本网站进行自主化抑郁症测试，根据测试结果自主选择是否联系我们。<br />如果有需要，点击下方的联系我们，留下您的联系方式，我们会有专人跟您预约时间，然后进行当面会谈，双方会谈后会给您量身打造一套康复计划。</p>
            </div>
            <div class="inner-box">
                <div class="row">
                    <div class="col-lg-4 col-md-6 col-sm-12 column">
                        <div class="single-item">
                            <div class="icon-box">
                                <div class="number">1</div>
                                <figure class="icon"><img src="/images/icons/work-icon-1.png" alt=""></figure>
                            </div>
                            <h3><a href="#">约定时间</a></h3>
                            <div class="text">您可以在线上进行时间的预约，我们将会为你寻找适合您的专家为您解答.</div>
                        </div>
                    </div>
                    <div class="col-lg-4 col-md-6 col-sm-12 column">
                        <div class="single-item">
                            <div class="icon-box">
                                <div class="number">2</div>
                                <figure class="icon"><img src="/images/icons/work-icon-2.png" alt=""></figure>
                            </div>
                            <h3><a href="#">对面会谈</a></h3>
                            <div class="text">和专家进行一对一的会谈，通过细节敞开心扉.</div>
                        </div>
                    </div>
                    <div class="col-lg-4 col-md-6 col-sm-12 column">
                        <div class="single-item">
                            <div class="icon-box">
                                <div class="number">3</div>
                                <figure class="icon"><img src="/images/icons/work-icon-3.png" alt=""></figure>
                            </div>
                            <h3><a href="#">康复计划</a></h3>
                            <div class="text">为您私人订制一个合理的计划.</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- work-section end -->


    <!-- event-section -->
    <section class="event-section centred">
        <div class="container">
            <div class="sec-title">
                <div class="title">您可以选择下面的内容进行检测</div>
                <h1>抑郁检测</h1>
            </div>
            <div class="row">
                <div class="col-lg-4 col-md-6 col-sm-12 event-block" th:each="category:${category}">
                    <div class="event-block-one">
                        <div class="inner-box">
                            <figure class="image-box"><img style="width: 370px; height: 210px" th:src="${category.imgUrl}" alt=""></figure>
                            <div class="lower-content">
<!--                                <span th:text="'作者'+${category.author}"></span>-->
                                <h3><a href="#" th:text="${category.name}"></a></h3>
                                <div class="text" th:text="${category.jianJie}"></div>
                                <div class="btn-box"><a target="_blank" th:href="'/paper/page/'+${category.id}" class="theme-btn-two">开始检测</a></div>
                            </div>
                        </div>
                    </div>
                </div>


            </div>


        </div>
    </section>
    <!-- event-section end -->





    <!-- ebook-section -->
    <section class="ebook-section" style="background-image: url(static/images/background/ebook-bg.jpg);">
        <div class="container">
            <div class="row">
                <div class="col-lg-4 col-md-6 col-sm-12 image-column">
                    <div class="image-box">
                        <figure class="image"><img style="height: 380px; width: 300px" th:src="${book.image}" alt=""></figure>
                    </div>
                </div>
                <div class="col-lg-8 col-md-6 col-sm-12 content-column">
                    <div class="content-box">
                        <div class="sec-title"><div class="title">为您推荐书籍</div></div>
                        <h1 th:text="${book.name}"></h1>
                        <div class="text" th:text="${book.reason}"></div>
                        <div class="btn-box"><a th:href="${book.url}">阅读</a></div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- ebook-section end -->


    <!-- news-section -->
    <section class="news-section">
        <div class="container">
            <div class="sec-title centred">
                <div class="title">心灵之窗</div>
                <h1>最近的文章</h1>
            </div>
            <div class="row">
                <div class="col-lg-4 col-md-6 col-sm-12 news-block" th:each="article:${randomArticle}">
                    <div class="news-block-one">
                        <div class="inner-box">
                            <figure class="image-box"><a th:href="'/article/detail/' + ${article.id}"><img style="width: 370px;height: 370px;" th:src="${article.imgUrl}" alt=""></a></figure>
                            <div class="lower-content">
                                <ul class="post-info">
                                    <li>作者： <span th:text="${article.author}"></span></li>
                                    <li th:text="${#dates.format(article.updateTime,'yyyy-MM-dd HH:mm:ss')}"></li>
                                </ul>
                                <h3><a th:href="'/article/detail/' + ${article.id}" th:text="${article.articleName}"></a></h3>
                                <div class="btn-box"><a th:href="'/article/detail/' + ${article.id}" class="theme-btn-two">阅读更多</a></div>
                            </div>
                        </div>
                    </div>
                </div>


            </div>
        </div>
    </section>
    <!-- news-section end -->





    <!-- main-footer -->
    <div th:insert="~{common:: footer}"></div>
    <!-- main-footer end -->




    <!-- jequery plugins -->
    <script src="./js/jquery.js"></script>
    <script src="./js/popper.min.js"></script>
    <script src="./js/bootstrap.min.js"></script>
    <script src="./js/owl.js"></script>
    <script src="./js/wow.js"></script>
    <script src="./js/validation.js"></script>
    <script src="./js/jquery.fancybox.js"></script>
    <script src="./js/appear.js"></script>

    <!-- main-js -->
    <script src="./js/script.js"></script>

</body><!-- End of .page_wrapper -->
</html>
